// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import Element from 'element-ui'
import methods from './methods'
import filters from './filter'
import 'element-ui/lib/theme-chalk/index.css'


Vue.prototype.$ajax = axios;

Vue.use(Element);
Vue.use(methods);
Vue.config.productionTip = false
Object.keys(filters).forEach((key) =>{
  Vue.filter(key,filters[key]);
})
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
  data:{
    traceId:'',
    traceType:'',
    data:{
      chip : '',
      mac : '',
      searchMac : '',
      distance : '',
      traceId:'',
      time:'',
    }
  }
})
